<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>邮件详细</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/gradesign/css/bootstrap.min.css"/>
	<link href="/gradesign/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen"/>
	<!-- Latest compiled and minified CSS -->
	<link rel="stylesheet" type="text/css" href="/gradesign/css/bootstrap-table.min.css"/>
    <style type="text/css">
    	#addIncomeModal,#editIncomeModal{margin-top:5%;margin-left:5%;margin-right:5%}
    	.second,.third{
            display: none;
        }
		.container{
			margin-top:7%;
		}
		body{
        background:transparent;
   		}
   		.form-group{
   			margin-top:10px;
   		}
   		#content{width:40%;margin-left:30%;border:1px solid #f4f4f4}
   		#memberAdd{margin:5%}
   		form{margin: 30px;}
    </style>
</head>
<body>
<div class="container">
	<div id="content">
		<div id="mailSend">
		<form th:each="email : ${email}" >
			<div class="form-group" style="text-align:center">
				<h3 style="align:center">邮件信息</h3>
			</div>
			<div class="form-group">
				<label for="emailAccount">邮件账号</label>
				<input type="text" id="emailAccount" class="form-control" th:value="${email.email_account}" readonly="readonly"/>
			</div>
			<div class="form-group">
				<label for="emailSubject">邮件主题</label>
				<input type="text" id="emailSubject" class="form-control" th:value="${email.email_subject}" readonly="readonly"/>
			</div>
			<div class="form-group">
				<label for="emailContent">邮件内容</label>
				<textarea  rows="5" cols="30" id="emailContent" class="form-control" th:text="${email.email_content}" readonly="readonly"/>
			</div>
			<div class="form-group" style="text-align:center">
				<button type="button" class="btn btn-primary" style="width:100px" id="emailBackBtn" onclick="back_email()">返回</button>
			</div>
		</form>
	</div>
	</div>
	
</div>
</body>
<script type="text/javascript" src="/gradesign/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/gradesign/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/gradesign/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
<script type="text/javascript" src="/gradesign/js/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.min.js"></script>
<!-- Latest compiled and minified Locales -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/locale/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript">
	function back_email(){
		window.location.href="/gradesign/back/email/index";
	}
</script>
</html>